package com.waymap.mapper;

import com.waymap.common.vo.ItemInventoryInfoVo;
import com.waymap.domain.ItemInventorys;
import com.waymap.utils.MyMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;


public interface ItemInventorysMapper extends MyMapper<ItemInventorys> {
    ItemInventorys getItemInventorys(Map<String, Object> param);

    List<Map<String,Object>> getBinNameList(Map<String, Object> param);

    List<Map<String,Object>> getItemInfoList(Map<String, Object> param);

    List<Map<String, Object>> getItemInventoryInfoList(Map<String, Object> param);
    List<Map<String,Object>> getBinNameList2(Map<String, Object> param);

    List<ItemInventorys> selectByMap(Map<String, Object> param2);

    List<Map<String,Object>> selectByItemId(Map<String, Object> param);
    
    void deleteAllItemInventory(@Param("accountId")String accountId);

    List<Map<String,Object>> getLocationBinsList(Map<String, Object> param);
    /*
     * 批量 新增 wms—item-Inventorys
     */
    int insertCodeBatch(List<ItemInventorys> itemInventorys);
    /*查询QuantityAvailable*/
    ItemInventorys   getQuantityAvailableByBin(Map<String, Object> param);
    /*修改可用库存*/
    int updateQuantityAvailableById(ItemInventorys itemInventorys);
}